package com.lcp.service;

import com.lcp.entity.ExerciseRecord;

import java.util.List;
import java.util.Map;

public interface ExerciseRecordService {
    ExerciseRecord getById(Long id);
    
    List<ExerciseRecord> listByUserId(Long userId);
    
    ExerciseRecord create(ExerciseRecord record);
    
    ExerciseRecord update(ExerciseRecord record);
    
    void delete(Long id);
    
    List<ExerciseRecord> listByDateRange(Long userId, String startDate, String endDate);
    
    List<ExerciseRecord> listByExerciseType(Long userId, String exerciseType, String date);
    
    Map<String, Object> getDailyExerciseSummary(Long userId, String date);
    
    Map<String, Object> getWeeklyExerciseTrend(Long userId, String startDate, String endDate);
    
    Map<String, Object> getExerciseStatistics(Long userId, String startDate, String endDate);
} 